package action;

import run.LineCell;

public class CellDeathAction implements Action {

	
	boolean active = true;
	
	public String toString() {
		return "CellDeath";
	}

	public void doAction(LineCell lineCell, Float scale) {
		// disregard scale, just kill.
		lineCell.dead = true;
		active = false;
	}
	
	// DONT WORRY ABOUT IT
	// ALLOCATE A NEW ACTION FOR EVERY TIME!!!!!!! LET
	// ACTION TRACK LIFETIME!
	
	public boolean isActive() {
		return active;
	}
}
